package com.hmall.mapper;

import com.hmall.vo.LeaveInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LeaveMapper {

	int getCount();
	
	void insert(LeaveInfo entity);
	
	void delete(String id);
	
	LeaveInfo getById(String id);
	
	List<LeaveInfo> getList();
	
	void update(@Param("entity") LeaveInfo entity);
}
